package service;

import entity.Message;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author: bohao
 */
public class Boot2 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("context/context.xml");
        FooService fs =  context.getBean("fooService", FooService.class );


        fs.require();
    }
}
